Picture (string, picture)

Basic and Crystal syntax.

Arguments
Return

string

Action

Picture (string, picture) prints a string or values in a text string in a predetermined format.

Typical Uses

Picture can be used to print a string "2065555555" in a telephone number format "(206) 555-5555", or to print other strings in fixed formats.

Examples

The following examples are applicable to both Basic and Crystal syntax:

Picture ({customer.FAX},"(xxx) xxx-xxxx" )

Prints the values in the Fax field in the format (805) 555-5555, (313) 555-2555, etc.

Picture ({customer.REGION}, "[xx]")

Prints the values in the Region field in the format [AK], [CA], etc.

Comments


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com